package com.lxmes.business.mapper;

import java.util.List;
import com.lxmes.business.domain.NcNoticeBill;
import org.apache.ibatis.annotations.Param;

/**
 * 开票通知单Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-29
 */
public interface NcNoticeBillMapper 
{
    /**
     * 查询开票通知单
     * 
     * @param id 开票通知单主键
     * @return 开票通知单
     */
    public NcNoticeBill selectNcNoticeBillById(Long id);
    public int selectNcNoticeBillByJsIdIsExist(@Param("kpType")String kpType, @Param("jsId")Long jsId);

    /**
     * 查询开票通知单列表
     * 
     * @param ncNoticeBill 开票通知单
     * @return 开票通知单集合
     */
    public List<NcNoticeBill> selectNcNoticeBillList(NcNoticeBill ncNoticeBill);

    /**
     * 新增开票通知单
     * 
     * @param ncNoticeBill 开票通知单
     * @return 结果
     */
    public int insertNcNoticeBill(NcNoticeBill ncNoticeBill);

    /**
     * 修改开票通知单
     * 
     * @param ncNoticeBill 开票通知单
     * @return 结果
     */
    public int updateNcNoticeBill(NcNoticeBill ncNoticeBill);

    /**
     * 删除开票通知单
     * 
     * @param id 开票通知单主键
     * @return 结果
     */
    public int deleteNcNoticeBillById(Long id);

    /**
     * 批量删除开票通知单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcNoticeBillByIds(Long[] ids);
}
